package org.edu.modules.rewardpublish.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 惩罚表
 * @Author: jeecg-boot
 * @Date: 2021-03-10
 * @Version: V1.0
 */
@Data
@TableName("ve_hr_chengfa")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "惩罚表", description = "惩罚表")
public class HqHrChengfa implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键、自增长
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键、自增长")
    private String id;
    /**
     * 教师id
     */
//    @Excel(name = "教师id", width = 15)
    @ApiModelProperty(value = "教师id")
    private String teacherid;
    /**
     * 工号
     */
    @Excel(name = "工号", width = 15)
    @ApiModelProperty(value = "工号")
    private String gh;
    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String xm;
    /**
     * 惩处名称
     */
    @Excel(name = "惩处名称", width = 15)
    @ApiModelProperty(value = "惩处名称")
    private String ccmc;
    /**
     * 惩处名称码
     */
//    @Excel(name = "惩处名称码", width = 15)
    @ApiModelProperty(value = "惩处名称码")
    private String ccmcm;
    /**
     * 纪律处分码
     */
    @Excel(name = "纪律处分", width = 15, dicCode = "code", dicText = "title", dictTable = "ve_dict_dictdata where modelCode='JLCF' ")
    @Dict(dicCode = "modelCode='JLCF' and code", dicText = "title", dictTable = "ve_dict_dictdata")
    @ApiModelProperty(value = "纪律处分")
    private String jlcfm;
    /**
     * 惩处原因
     */
    @Excel(name = "惩处原因", width = 15)
    @ApiModelProperty(value = "惩处原因")
    private String ccyy;
    /**
     * 惩处内容
     */
    @Excel(name = "惩处内容", width = 15)
    @ApiModelProperty(value = "惩处内容")
    private String ccnr;
    /**
     * 惩处文号
     */
    @Excel(name = "惩处文号", width = 15)
    @ApiModelProperty(value = "惩处文号")
    private String ccwh;
    /**
     * 惩处单位
     */
    @Excel(name = "惩处单位", width = 15)
    @ApiModelProperty(value = "惩处单位")
    private String ccdw;
    /**
     * 惩处日期
     */
    @Excel(name = "惩处日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "惩处日期")
    private Date ccrq;
    /**
     * 惩处撤销日期
     */
    @Excel(name = "惩处撤销日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "惩处撤销日期")
    private Date cccxrq;
    /**
     * 惩处撤消文号
     */
    @Excel(name = "惩处撤消文号", width = 15)
    @ApiModelProperty(value = "惩处撤消文号")
    private String cccxwh;
    /**
     * 惩处撤消原因
     */
    @Excel(name = "惩处撤消原因", width = 15)
    @ApiModelProperty(value = "惩处撤消原因")
    private String cccxyy;
    /**
     * 系统ID
     */
//    @Excel(name = "系统ID", width = 15)
    @ApiModelProperty(value = "系统ID")
    private Integer terminalid;
}
